package com.ztmg.water.service.base;

import com.ztmg.water.model.base.DeliveryMan;
import com.ztmg.water.vo.base.DeliveryManVO;
import com.ztmg.water.dto.base.DeliveryManDTO;
import com.ztmg.water.dto.base.DeliveryManPageDTO;
import com.ztmg.common.util.resultUtils.JsonResult;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface DeliveryManService{

		JsonResult create(DeliveryManDTO dto);
		JsonResult update(DeliveryManDTO dto);
		JsonResult<DeliveryManVO> selectById(Integer id);
		JsonResult<List<DeliveryManVO>> select(DeliveryManDTO dto);
		JsonResult<PageInfo<DeliveryManVO>> selectPage(DeliveryManPageDTO dto);
		JsonResult deleteById(Integer id);
		JsonResult delete(DeliveryManDTO dto);
		JsonResult batchDelete(List<Integer> ids);
}